/*
	Name:9_T2
	Copyright:Take it at will
	Author:Rodney
	Date: 
	Description:
*/
#include<stdio.h>

void mystrcat(char *s,char *t);

int main()
{
	char a[40]="im rodney ",b[]="surperman";
	mystrcat(a,b);
	printf("%s\n",a);
}

void mystrcat(char *s,char *t)
{
	int i;
	for(;*s != '\0' ; s++);
	
	for(i=0;*t != '\0';i++)
		*(s+i) = *t++;
	
	*(s+i) = '\0';
}
